import request from '@/utils/request';

export function apiShopAll(data) {
  return request({
    url: '/admin/shop/all',
    method: 'post',
    data
  });
}

export function apiShopAdd(data) {
  return request({
    url: '/admin/shop/add',
    method: 'post',
    data
  });
}

export function apiShopEdit(data) {
  return request({
    url: '/admin/shop/edit',
    method: 'post',
    data
  });
}

export function apiShopList(data) {
  return request({
    url: '/admin/shop/list',
    method: 'post',
    data
  });
}

export function apiShopDel(data) {
  return request({
    url: '/admin/shop/del',
    method: 'post',
    data
  });
}
